import request from '@/utiles/http';
export function getBannerAPI (params={}){
    //默认为1 商品为2
    const {type='1'}=params
    return request({
        url:'home/banner',
        params:{
            type
        }
    });
}